Abelian pattern matching in strings
نویسنده
چکیده
Abelian pattern matching is a new class of pattern matching problems. In abelian patterns, the order of the characters in the substrings does not matter, e.g. the strings abbc and babc represent the same abelian pattern a+2b+c. Therefore, unlike classical pattern matching, we do not look for an exact (ordered) occurrence of a substring, rather the aim here is to find any permutation of a given combination of characters that represents the given abelian pattern. In this thesis, we study the problem of abelian pattern matching in strings in a systematic manner, and present several algorithms for exact as well as approximate abelian pattern matching. We also present different strategies for indexing the input text to make the abelian pattern matching more efficient.
منابع مشابه
Flexible and Efficient Algorithms for Abelian Matching in Strings
The abelian pattern matching problem consists in finding all substrings of a text which are permutations of a given pattern. This problem finds application in many areas and can be solved in linear time by a näıve sliding window approach. In this short communication we present a new class of algorithms based on a new efficient fingerprint computation approach, called Heap-Counting, which turns ...
متن کاملOnline Abelian Pattern Matching
An abelian pattern describes the set of strings that comprise of the same combination of characters. Given an abelian pattern P and a text T ∈ Σ, the task is to find all occurrences of P in T , i.e. all substrings S = Ti...Tj such that the frequency of each character in S matches the specified frequency of that character in P . In this report we present simple online algorithms for abelian patt...
متن کاملk-Abelian Pattern Matching
Two words are called k-abelian equivalent, if they share the same multiplicities for all factors of length at most k. We present an optimal linear time algorithm for identifying all occurrences of factors in a text that are k-abelian equivalent to some pattern P . Moreover, an optimal algorithm for finding the largest k for which two words are k-abelian equivalent is given. Solutions for online...
متن کاملA note on the longest common Abelian factor problem
Abelian string matching problems are becoming an object of considerable interest in last years. Very recently, Alatabbi et al. [1] presented the first solution for the longest common Abelian factor problem for a pair of strings, reaching O(σn) time with O(σn log n) bits of space, where n is the length of the strings and σ is the alphabet size. In this note we show how the time complexity can be...
متن کاملFragmentary Pattern Matching: Complexity, Algorithms and Applications for Analyzing Classic Literary Works
A fragmentary pattern is a multiset of non-empty strings, and it matches a string w if all the strings in it occur within w without any overlaps. We study some fundamental issues on computational complexity related to the matching of fragmentary patterns. We show that the fragmentary pattern matching problem is NP-complete, and the problem to find a fragmentary pattern common to two strings tha...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2010